﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.MefExtensions;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.MefExtensions.Modularity;
using Microsoft.Practices.Prism.Regions;
using System.ComponentModel.Composition;
using Infrastructure;


namespace MarketDashboardModule
{
    [ModuleExport(typeof(MarketDashboardModule))]
    public class MarketDashboardModule : IModule
    {
        [Import]
        public IRegionManager RegionManager;

        #region IModule Members

        public void Initialize()
        {
            this.RegionManager.RegisterViewWithRegion(RegionNames.MainContentRegion, typeof(Views.DashBoardView));
            this.RegionManager.RegisterViewWithRegion(Constants.DashBoardContentRegion, typeof(Views.UserControl1));
        }

        #endregion
    }
}
